package com.ilink.ilinkcommon.domain.PO.userService;

/**
 * <h3>new-ilink-java-backend-psy</h3>
 *
 * @Description <p>用户信息的临时导入表</p>
 * @Author pengshiyao
 * @Date 2024-10-09 11:21
 **/

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.opencsv.bean.CsvBindByName;
import java.io.Serializable;
import lombok.Data;

/**
 * @ClassName UserMessageExport
 * @Description
 * @Author pengshiyao
 * @Date 2024-10-09 11:21
 **/
@TableName(value = "user_message_export")
@Data
public class UserMessageExport implements Serializable {
    @TableId(type = IdType.INPUT)
    @TableField(value = "user_export_id")
    private Long userExportId;

    @CsvBindByName(column = "studentId", required = true)
    private String studentId;             // 学号，作为主键

    @CsvBindByName(column = "realname")
    private String realName;              // 真实姓名

    @CsvBindByName(column = "school")
    private String school;                // 所在学校

    @CsvBindByName(column = "college")
    private String college;               // 所属学院

    @CsvBindByName(column = "phoneNumber")
    private String phoneNumber;           // 手机号

    @CsvBindByName(column = "email")
    private String email;                 // 邮箱

    @CsvBindByName(column = "participationType")
    private String participationType;     // 参与方式

    @CsvBindByName(column = "campus")
    private String campus;                // 所属校区

    @CsvBindByName(column = "studentStatus")
    private String studentStatus;         // 在校生身份

    @CsvBindByName(column = "enrollmentYear")
    private String enrollmentYear;        // 入学年份

    @CsvBindByName(column = "projectStatus")
    private String projectStatus;         // 项目情况

    @CsvBindByName(column = "projectType")
    private String projectType;           // 项目类型

    @CsvBindByName(column = "projectName")
    private String projectName;           // 项目名称

    @CsvBindByName(column = "isSync", required = false)
    private Integer isSync = 0;           // 是否同步，默认未同步（0）
}
